<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
<script type="text/javascript">

$(function(){
	if("${message}" != "")
		alert("${message}");
});
function validata(){
	if($("#username").val() == ""){
		alert("请输入用户名！");
		return false;
	}
	if($("#password").val() == ""){
		alert("请输入密码！");
		return false;
	}
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>在线订单后台管理</title>
<link href="themes/css/login.css" rel="stylesheet" type="text/css" />
</head>

<body>
	<div id="login">
		<div id="login_header">
			<h1 class="login_logo">
				<a href="http://www.kangliex.com"><img src="themes/default/images/login_logo.gif" /></a>
			</h1>
			<div class="login_headerContent">
				<div class="navList">
					<ul>
						<li><a href="#">设为首页</a></li>
						<li><a href="http://kangliex.com">反馈</a></li>
						<li><a href="help/" target="_blank">帮助</a></li>
						<li><a href="Registration.jsp" target="_blank">注册</a></li>
					</ul>
				</div>
				<h2 class="login_title"><img src="themes/default/images/login_title.gif" /></h2>
			</div>
		</div>
		<div id="login_content">
			<div class="loginForm">
				<form method="post" name="loginForm" action="login.action">
					<p>
						<label>用户名：</label>
						<input id="username" type="text" name="staff.staffNumber" value="${staff.staffNumber}" class="login_input"/>
					</p>
					<p>
						<label>密码：</label>
						<input id="password" type="password" name="staff.staffPassword" />
					</p>
					<p>
					<label>风格选择：</label>
					  <input type="radio" name="radiobutton" value="radiobutton" checked>标准版
  					&nbsp;&nbsp;<input type="radio" name="radiobutton" value="radiobutton">个性版
					</p>
					<div class="login_bar">
						<input class="sub" type="submit"  value="" onclick="return validata();"/>
					</div>
				</form>
			</div>
			<div class="login_banner"><img src="themes/default/images/login_banner.jpg" /></div>
			<div class="login_main">
				<ul class="helpList">
					<li><a href="Registration.jsp">还未注册？</a></li>
					<li><a href="#">下载手机客户端</a></li>
					<li><a href="#">下载电脑客户端</a></li>
					<li><a href="#">忘记密码怎么办？</a></li>
					<li><a href="#">为什么登录失败？</a></li>
				</ul>
				<div class="login_inner">
					<p>您可以使用 康力E键通 ，随时查</p>
					<p>您还可以使用 康力E键通，进行综合物流管理</p>
					<p>在康力E键通里，你可以咨询价格，查询快件…</p>
				</div>
			</div>
		</div>
		<div id="login_footer">
			Copyright &copy; 2012 www.kangliex.com Inc. All Rights Reserved.
		</div>
	</div>
</body>
</html>